Skip to content

Ship current Wine artifacts and engine preparation fixes - #5

Closed
jx-grxf wants to merge 1 commit into
virtual-67:mainfrom
jx-grxf:fix/runtime-release-reliability
Closed

jx-grxf wants to merge 1 commit into
virtual-67:mainfrom
jx-grxf:fix/runtime-release-reliability

Conversation

@jx-grxf

@jx-grxf jx-grxf commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #4, rebased onto v0.9.7 (61492de).

  • Install the completed Wine build into an isolated staging directory and copy all rebuilt artifacts into runtime candidates. The compatibility builder previously replaced only binaries whose deployment target was too new. A stale Mac driver targeting a supported macOS could therefore survive a rebuild.
  • Share that installation path between the compatibility and incremental candidate builders. Preserve additional graphics/media libraries and the timestamp of an unchanged wine.inf.
  • Reject the known stale Mac foreground driver during engine packaging by checking the actual packaged binary for the required NtUserSetForegroundWindow import.
  • Compare the bundle's preparation scripts and baseline manifests with the checkout before certifying it. The v0.9.7 release manifest still refers to the v0.9.5 engine, while the source tree already contains the faster healthy-room refresh. The next engine release needs to carry those source changes.
  • Add regression coverage for healthy-room refreshes, failed-refresh retries, complete candidate installation, failed/incomplete staging and old/fresh driver imports. Run download-cache tests with the Python interpreter already selected through uv, because macOS Python 3.9 lacks hashlib.file_digest.
  • Carry forward the standalone Win32 foreground/desktop probe from Fix native .NET startup and reject stale Mac foreground drivers #4.

The implementation changes are confined to build/release tooling, documentation and tests. v0.9.7 remains the application baseline, including its existing background-mode behavior. Application-specific SEB binaries and configurations are outside the diff.

Validation

  • DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test from app — 88 tests passed.
  • uv run --with pyyaml python -m unittest discover -s scripts/tests -v — 41 tests passed.
  • uv run --with pyyaml python -m unittest discover -s scripts -p test_dotnet_cache.py -v — 2 tests passed.
  • python3 scripts/test-window-levels.py — 36 native checks passed.
  • Foreground/desktop probe compiled for x86 and x86_64 using Zig with -Wall -Wextra -Werror.
  • bash -n passed for the modified shell scripts, and git diff --check passed.
  • An additional bounded review found no concrete new blocker in artifact copying and the packaging gates.

Release acceptance still required

The complete compatibility engine was not rebuilt as part of this PR validation. Build a candidate, run the packaged-engine core gate and the documented app-switch/desktop lifecycle acceptance cases before publishing its artifact. The symbol gate detects the known stale binary dependency. Runtime behavior still needs the native probe, including enabled/disabled background mode and macOS desktop transitions.

Browser diagnostics follow-up

Investigation traced Chromium 152's WSALookupServiceBegin failure 8 to Wine's existing stub. Chromium reports CONNECTION_UNKNOWN on that path. It is not evidence by itself for an offline state or the earlier SEB named-pipe timeout. A real NS_NLA provider requires a separate implementation and online/offline/reconnection validation. The socket errors 10042/10045 still need a Winsock/AFD trace to identify their originating calls.

The ANGLE message concerns the DXGI driver-version query. Location activation and the Moodle theme's jQuery exception require their own capability/server-side investigation. These items remain open.

Primary source references for the network diagnosis are Chromium 152 and Wine's lookup stubs.

@jx-grxf jx-grxf closed this by deleting the head repository Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant